]> dgit.raspbian.org Git - gnome-shell.git/commit
objectManager: correct invalid index code in onNameVanished
authorRay Strode <rstrode@redhat.com>
Fri, 31 Aug 2018 16:48:00 +0000 (12:48 -0400)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 3 Sep 2018 22:40:46 +0000 (22:40 +0000)
commitafc7925e3e03282e4dfd050bc67c36490629a5de
tree24ccc445ac098ca95367f962efa676282f0c63b6
parentc2e9e68df72a200a13bd6b5fea88a4c4cd1a0c16
objectManager: correct invalid index code in onNameVanished

The object manager tries to synthesize interface removal
events if the bus name of a remote object drops off the bus.

The code has a bad typo in it, though: it confuses `objectPaths`
(the list of all object paths) and `objectPath` (the object
currently being processed this iteration of the loop).

That leads to a failure to synthesize the interface removal
events, and spew in the log.

This commit corrects the objectPath/objectPaths confusion.
js/misc/objectManager.js